<#assign css> </#assign>
<#assign js> </#assign>
<#import "/admin/common/home.html" as home>
<#escape x as (x)!""> 
<@home.home pagecss=css pagejs=js>
<form action="list" id="pageListForm" method="post" class="form-inline">
	<div class="search">
		<div class="form-group">
			<input type="text" name="startDate" id="startDate" value="${param.startDate!''}" data-end-id="endDate" class="xdsoft_icon form-control date-picker" placeholder="请选择开始时间" autocomplete="off" /> 
			- 
			<input type="text" name="endDate" id="endDate" value="${param.endDate!''}" data-start-id="startDate" class="xdsoft_icon form-control date-picker" placeholder="请选择结束时间" autocomplete="off"  />
		</div>
		<div class="form-group">
			<a href="javascript:;" class="btn btn-search " id="btn-search">查询</a>
		</div>
	</div>
	
	<div class="main-container">
		<table class="table table-bordered table-hover">
			<thead class="thead thead-more">
				<tr>
					<th>操作对象</th>
					<th>操作内容</th>
					<th>操作类型</th>
					<th>操作用户</th>
					<th class="ui-td-time" style="width: 160px">操作日期</th>
					<th>请求ip</th>
					<td>变更数据</td>
					<td>备注</td>
				</tr>
			</thead>
			<tbody class="tbody mod-tbody">
				<#if page?? && page.list ?? && page.list?size gt 0>
				<#list page.list as item>
				<tr>
					<td>${item.objectName}</td>
					<td>${item.objectData}</td>
					<td>${item.operateName}</td>
					<td>${item.userName}</td>
					<td class="ui-td-time"><span class="time">${item.logTime}</span></td>
					<td>${item.requestIp}</td>
					<td>
						<#include "attr.html" />
					</td>
					<td>${item.remarks}</td>
				</tr>
				</#list>
				<#else>
					<tr>
						<td colspan="8"><p class="no-data">没有相关数据</p></td>
					</tr>
				</#if>
			</tbody>
		</table>
		<div class="ui-page">
			<#include "/admin/common/page.html">
		</div>
	</div>
</form>
</@home.home>
</#escape>
